﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="sign-in.aspx.cs" Inherits="car_insurance_sign_in" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpBody" runat="Server">
    <div id="container">
        <div class="body">
            <div class="top">
            </div>
            <div class="body">
                <div class="padding_lr15px">
                    <!-- Column Content | Start -->
                    <div class="col_content">
                        <div class="top">
                        </div>
                        <div class="body">
                            <div class="padding_lr30px">
                                <h1>
                                    <asp:Label runat="server" ID="lblUserLoginTitle" Text="<%$Resources:CarInsurance,SignIn%>" /></h1>
                                <asp:Panel ID="pnlUserLogin" runat="server" DefaultButton="btnLogin">
                                    <div>
                                        <asp:ValidationSummary ID="vsExCustomer" HeaderText="<%$Resources:Menu,RequiredField%>"
                                            runat="server" ValidationGroup="excustomer" CssClass="errorSummary" ShowSummary="True">
                                        </asp:ValidationSummary>
                                    </div>
                                    <div class="seperator_15px">
                                    </div>
                                    <div id="CarForm">
                                        <!-- Form | Start -->
                                        <div>
                                            <div class="form_col_1 comp left">
                                                <asp:Label ID="lblExEmail" runat="server" Text="<%$Resources:CarInsurance,EmailAddress%>"></asp:Label></div>
                                            <div class="form_col_2 left">
                                                <asp:TextBox ID="txtExEmail" runat="server" MaxLength="100" Width="200px" />
                                                <asp:RequiredFieldValidator ID="rfvExEmail" CssClass="validationErrorControl" runat="server"
                                                    ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="rfvExEmailValid" 
                                                    runat="server" ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>
                                        <div>
                                            <div class="form_col_1 comp left">
                                                <asp:Label ID="lblExAuthCode" runat="server" Text="<%$Resources:CarInsurance,Password%>"></asp:Label>
                                            </div>
                                            <div class="form_col_2 left">
                                                <asp:TextBox ID="txtExAuthCode" runat="server" Width="200px" MaxLength="20" TextMode="Password" /><%--onfocus="this.value='';" --%>
                                                <asp:RequiredFieldValidator ID="rfvExAuthCode" CssClass="validationErrorControl"
                                                    runat="server" ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExAuthCode"
                                                    Display="Dynamic"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div class="seperator_form">
                                        </div>
                                        <div class="seperator_15px">
                                        </div>
                                        <div>
                                            <div class="form_col_1 left">
                                                &nbsp;
                                            </div>
                                            <div class="form_col_1 left">
                                                <asp:Button onmousedown="this.className = 'button_login_mousedown';" onmouseup="this.className = 'button_login';"
                                                    onmouseout="this.className = 'button_login';" CssClass="button_login" ValidationGroup="excustomer"
                                                    ID="btnLogin" OnClientClick="document.getElementById('ctl00_usrLoginStatus_hidIsLoginTop').value='';LoadValidationErrorCss(); if (Page_ClientValidate('excustomer')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'button_processing';}"
                                                    runat="server" OnClick="btnLogin_Click" />
                                            </div>
                                        </div>
                                        <div class="seperator_15px">
                                        </div>
                                        <div>
                                            <div class="form_col_1 left">
                                                &nbsp;
                                            </div>
                                            <div class="form_col_1 left">
                                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/user/passwordrecovery.aspx"
                                                    Text="<%$ Resources:Menu,Forgotpassword%>" />
                                            </div>
                                        </div>
                                        <div>
                                            <div class="form_col_1 left">
                                                &nbsp;
                                            </div>
                                            <div class="form_col_2 left">
                                                <asp:Label ID="lblLoginMessage" runat="server" Font-Bold="true" ForeColor="Red"></asp:Label>
                                            </div>
                                        </div>
                                        <!-- Form | End   -->
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                    <!-- Column Content | End   -->
                    <!-- Column Right | Start -->
                    <div>
                        <div class="col_right-white">
                            <div class="top">
                            </div>
                            <div class="body text_center">
                                <%--<img src="/images/public/logo/msig.png" width="165" height="70" alt="MSIG" />--%>
                                <div class="tip">
                                <asp:HyperLink runat="server" ID="hplGetQuote" ToolTip="<%$ Resources:Menu,GetACarInsuranceQuote%>"
                                    NavigateUrl="~/car-insurance/car-details.aspx">                                
                                    <asp:Image ID="Image1" runat="server" ImageUrl="<%$Resources:ImageResource,PaymentBannerUrl%>"
                                        Width="234" Height="188" AlternateText="Payment" />
                                </asp:HyperLink> 
                                </div>
                            </div>
                            <div class="bottom">
                            </div>
                        </div>
                        <div class="seperator_15px">
                        </div>
                        <div class="seperator_15px">
                        </div>
                    </div>
                    <!-- Column Right | End   -->
                </div>
            </div>
            <div class="bottom">
            </div>
        </div>
    </div>
</asp:Content>
